#include<stdio.h>
#include<stdlib.h>
#include<string.h>


char* Getmemory(char* p)
{
    p =(char*) malloc(7);
    return p;

}


int main()

{
    //int arry[] = { 1,2,3,4 };
    //*arry = 123;
    //int* const cp1=arry;
    //int const* cp2;
    //int num = 2;

    //printf("hello wit");
    //printf("hello wit %zd", sizeof(arry));

    /*
    int a[4][3] = { 1,2,3,4,5,6,7,8,9,10,11,12 };
    printf("a:%d\n",a);
    printf("a+1:%d\n", a+1);
    printf("*(a+1):%d\n", *(a+1));
    printf("a[1]:%d\n", a[1]);
    printf("*( * (a + 1) + 1):%d\n", *( * (a + 1) + 1));//5*/
    char* str = NULL;
    str = Getmemory(str);
    strcpy(str,"hello");

    printf("%s\n",str);

    return 0;
}